﻿using MoreEvent.Common.Systems;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;

namespace MoreEvent.Content.Biomes
{
    public class MeteorShower : ModBiome
    {
        public override int Music => MusicID.Eerie;
        public override SceneEffectPriority Priority => SceneEffectPriority.BiomeLow;
        public override bool IsBiomeActive(Player player)
        {
            bool flag = EventSystem.ActiveEvents.Contains(1);
            player.ManageSpecialBiomeVisuals("MoreEvent:Meteor", flag, default);
            player.ManageSpecialBiomeVisuals("MoreEvent:MeteorShader", flag, default);
            return flag;
        }
    }
}
